<?php /*a:4:{s:52:"H:\thinkphp\app\console\view\news_cate\con_edit.html";i:1568790811;s:60:"H:\thinkphp\app\console\view\public\layer_new_page_base.html";i:1567993742;s:48:"H:\thinkphp\app\console\view\public\mylocal.html";i:1567993729;s:58:"H:\thinkphp\app\console\view\public\table_form_header.html";i:1567993717;}*/ ?>
﻿<!DOCTYPE html>
<html lang="en" class="app">
<head>
    <meta charset="utf-8"/>
    <title><?php echo config('domain_config.console_name'); ?></title>
    <meta name="description" content="<?php echo config('domain_config.console_name'); ?>"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <link rel="stylesheet" href="/static/console/css/app.v2.css" type="text/css" cache="true"/>
    <link rel="stylesheet" href="/static/console/js/calendar/bootstrap_calendar.css" type="text/css" cache="true"/>
    <link rel="stylesheet" href="/static/console/fonts/font-awesome.min.css" cache="true">
    <link rel="stylesheet" href="/static/console/js/fuelux/fuelux.css" type="text/css" cache="true"/>
    <!-- <link rel="stylesheet" href="/static/console/js/datepicker/datepicker.css" type="text/css" cache="true" /> -->

    <!--[if lt IE 9]>
    <script src="/static/console/js/ie/html5shiv.js" cache="true"></script>
    <script src="/static/console/js/ie/respond.min.js" cache="true"></script>
    <script src="/static/console/js/ie/excanvas.js" cache="true"></script> <![endif]-->

</head>
<body>
<section class="vbox">

    <section>
        <section class="hbox stretch"> <!-- .aside -->
            <!-- /.aside -->

            
<!-- /.aside -->
<section id="content">
    <section class="vbox">
        <section class="scrollable padder">
            ﻿<ul class="breadcrumb no-border no-radius b-b b-light pull-in" style="margin-top: -17px;display: block;">
    <li>
        <a href="javascript:void(0);">
            <i class="fa fa-home"></i> 控制台
        </a>
    </li>
    <?php if(is_array($topbar) || $topbar instanceof \think\Collection || $topbar instanceof \think\Paginator): $i = 0; $__LIST__ = $topbar;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    <li class="active">
        <a href="javascript:void(0);">
            <?php echo htmlentities($vo); ?>
        </a>
    </li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>

            <section class="panel panel-default">
                ﻿<header class="panel-heading font-bold" style="margin-top: -17px;">
    数据表单 &nbsp;&nbsp;&nbsp;&nbsp;
    <i class="fa fa-refresh text-primary text  refresh" title="刷新" style="cursor:pointer;"></i>
</header>

                <div class="panel-body">
                    <form id="ajaxform_close" class="form-horizontal" method="post">

                        <div class="form-group">
                            <label class="col-sm-2 control-label">选择父级栏目</label>
                            <div class="col-sm-10">
                                <select name="cate_pid" class="form-control m-b" required>
                                    <option value="0">主栏目</option>
                                    <?php if(is_array($cate_tree) || $cate_tree instanceof \think\Collection || $cate_tree instanceof \think\Paginator): $i = 0; $__LIST__ = $cate_tree;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                    <option value="<?php echo htmlentities($vo['id']); ?>" {if condition="$vo.id eq $that.cate_pid" } selected {
                                    /if}><?php if($vo['cate_lev'] > '1'): ?>|<?php echo(str_repeat('-',($vo['cate_lev']-1)*8+5 ));?>
                                    <?php endif; ?><?php echo htmlentities($vo['cate_name']); ?></option>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                </select>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">栏目名称</label>
                            <div class="col-sm-10">
                                <input type="text" name="cate_name" maxlength="255" class="form-control" required
                                       placeholder=" 必填" value="<?php echo htmlentities($that['cate_name']); ?>">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">栏目类型</label>
                            <div class="col-sm-10">
                                <?php if(is_array($seting['type']) || $seting['type'] instanceof \think\Collection || $seting['type'] instanceof \think\Paginator): if( count($seting['type'])==0 ) : echo "" ;else: foreach($seting['type'] as $key=>$vo): ?>
                                <label class="radio-inline">
                                    <input type="radio" id="inlineCheckbox1" name="cate_type" value="<?php echo htmlentities($key); ?>" <?php if($key == $that['cate_type']): ?> checked <?php endif; ?> ><?php echo htmlentities($vo); ?></label>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </div>
                        </div>

                        <div class="form-group type_link" {neq name="that.cate_type" value="2" } style="display: none" {
                        /neq}>
                        <label class="col-sm-2 control-label">外链地址</label>
                        <div class="col-sm-10">
                            <input type="url" data-type="url" name="gourl" class="form-control parsley-validated"
                                   placeholder=" 需以 http:// 开头的完整网址" value="<?php echo htmlentities($that['gourl']); ?>">
                        </div>
                </div>


                <div class="form-group">
                    <label class="col-sm-2 control-label">栏目缩略图</label>
                    <div class="col-sm-3">
                        <input type="file" accept="image/*" class="filestyle" name="cate_img" data-icon="false"
                               data-classButton="btn btn-default" data-classInput="form-control inline input-s">
                    </div>
                    <div class="col-sm-3">
                        <?php if(!(empty($that['cate_img']) || (($that['cate_img'] instanceof \think\Collection || $that['cate_img'] instanceof \think\Paginator ) && $that['cate_img']->isEmpty()))): ?>
                        <a href="<?php echo htmlentities($that['cate_img']); ?>" target="_blank"
                           style="text-decoration: underline;color: #89cc97;line-height: 30px;">* 点击查看已上传图片</a>
                        <?php else: ?>
                        <a style="text-decoration: underline;color: #89cc97;line-height: 30px;">（暂未上传）</a>
                        <?php endif; ?>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">排序</label>
                    <div class="col-sm-10">
                        <input type="number" value="<?php echo htmlentities($that['sort']); ?>" name="sort" maxlength="2" class="form-control"
                               required placeholder=" 1 - 100间的整数，数值越小越靠前">
                    </div>
                </div>

                <div class="form-group type_1" {neq name="that.cate_type" value="1" } style="display: none" {
                /neq}>
                <label class="col-sm-2 control-label">每页条数</label>
                <div class="col-sm-10">
                    <input type="number" value="<?php echo htmlentities($that['paginate']); ?>" name="paginate" class="form-control"
                           placeholder=" 每个分页显示的新闻条数，默认6">
                </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-2 control-label">是否显示</label>
                    <div class="col-sm-10">
                        <label class="switch">
                            <input type="checkbox" value="1" name="is_show" <?php if($that['is_show'] == '1'): ?> checked
                                                 <?php endif; ?>>
                            <span></span>
                        </label>
                    </div>
                </div>

                <div class="line line-dashed line-lg pull-in"></div>

                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-2">
                        <input type="hidden" name="id" value="<?php echo htmlentities($that['id']); ?>" required readonly>
                        <button type="reset" class="btn btn-default" style="padding:6px 12px;font-size: 14px;">重 置
                        </button>
                        <button type="submit" class="btn btn-primary" style="padding:6px 12px;font-size: 14px;">保 存
                        </button>
                    </div>
                </div>
                </form>
                </div>
            </section>
        </section>
    </section>
</section>




            <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen" data-target="#nav"></a>
        </section>
        <aside class="bg-light lter b-l aside-md hide" id="notes">
            <div class="wrapper">Notification</div>
        </aside>
    </section>
</section>
</section>


<!-- <script type="text/javascript" src="/static/console/js/suport.js"></script> -->


<!-- Bootstrap --> <!-- App -->
<!-- <script src="/static/console/js/charts/easypiechart/jquery.easy-pie-chart.js" cache="true"></script> 
<script src="/static/console/js/charts/sparkline/jquery.sparkline.min.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/charts/flot/jquery.flot.min.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/charts/flot/jquery.flot.tooltip.min.js" cache="true"></script> 
<script src="/static/console/js/charts/flot/jquery.flot.resize.js" cache="true"></script> 
<script src="/static/console/js/charts/flot/jquery.flot.grow.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/charts/flot/demo.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/calendar/bootstrap_calendar.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/calendar/demo.js" cache="true"></script>  -->
<!-- <script src="/static/console/js/sortable/jquery.sortable.js" cache="true"></script> -->
</body>
</html>

<script type="text/javascript" src="/static/common/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/common/js/jquery.form.js"></script>
<script type="text/javascript" src="/static/common/layer/layer.js"></script>
<script type="text/javascript" src="/static/common/js/suport.js"></script>
<script type="text/javascript" src="/static/console/js/suport.js"></script>
<link rel="stylesheet" href="/static/console/css/suport.css" type="text/css" cache="true"/>


<script src="/static/console/js/fuelux/fuelux.js" cache="true"></script>
<!-- datepicker -->
<script src="/static/console/js/datepicker/bootstrap-datepicker.js" cache="true"></script>
<!-- slider -->
<script src="/static/console/js/slider/bootstrap-slider.js" cache="true"></script>
<!-- file input -->
<script src="/static/console/js/file-input/bootstrap-filestyle.min.js" cache="true"></script>
<!-- combodate -->
<script src="/static/console/js/libs/moment.min.js" cache="true"></script>
<script src="/static/console/js/combodate/combodate.js" cache="true"></script>
<!-- select2 -->
<script src="/static/console/js/select2/select2.min.js" cache="true"></script>
<!-- wysiwyg -->
<script src="/static/console/js/wysiwyg/jquery.hotkeys.js" cache="true"></script>
<script src="/static/console/js/wysiwyg/bootstrap-wysiwyg.js" cache="true"></script>
<!-- <script src="/static/console/js/wysiwyg/demo.js" cache="true"></script> -->
<!-- markdown -->
                             